package com.afkx.oop.pay;

/**
 * @ClassName 消费者
 * @Description TODO
 * @Author Kx
 * @Date 2025/3/3 18:56
 * @Version 1.0
 */
public class Payment {
    public void pay(Consumer consumer){
        System.out.println("消费者消费");
        consumer.pay();
    }
}
